<header class="uc_head">
	<h3>我的退款</h3>
</header>

{set:$queryRefundmentDocList = Api::run('getRefundmentDocList')}
{set:$queryRefundmentDoc = $queryRefundmentDocList->find()}
{if:$queryRefundmentDoc}
<section class="uc_table">
	<table>
		<thead>
			<tr><th>退款订单</th><th>申请时间</th><th>处理状态</th><th>操作</th></tr>
		</thead>
		<tbody>
			{foreach:items = $queryRefundmentDoc}
			<tr>
				<td>{$item['order_no']}</td>
				<td>{$item['time']}</td>
				<td>{echo:Order_Class::refundmentText($item['pay_status'])}</td>
				<!-- 个人中心表格操作 -->
				<td class="uc_tab_operation">
					{if:$item['pay_status']==0}
					<a href='javascript:delModel({link:"{url:/ucenter/refunds_del/id/$item[id]}"})'>取消</a>
					|
					{else:}
					<a></a>&nbsp;&nbsp;
					{/if}
					<a href="{url:/ucenter/refunds_detail/id/$item[id]}">查看</a>
				</td>
				<!-- 个人中心表格操作 -->
			</tr>
			{/foreach}
		</tbody>
	</table>
</section>
{else:}
<section class="no_tip">暂无数据</section>
{/if}
{$queryRefundmentDocList->getPageBar()}
